#include<stdio.h>
int main() {
	char arr[13] = {'*'};
	for (int i = 0; i < 13; i++) {
		arr[i] = '*';
	}
	for (int n = 0; n <= 6; n++) {
		for (int i = 1; i < 14; i++) {
			if (i <= (7 + n) && i >= (7 - n)) {
				printf("%c ", arr[i - 1]);
			} else {
				printf("  ");
			}
		}
		printf("\n");
	}
	for (int n = 5; n >= 0; n--) {
		for (int i = 1; i < 14; i++) {
			if (i <= (7 + n) && i >= (7 - n)) {
				printf("%c ", arr[i - 1]);
			} else {
				printf("  ");
			}
		}
		printf("\n");
	}
	return 0;
}
